package com.kinghunt.misp.dal.dao.devicex;

import com.kinghunt.misp.dal.model.devicex.DeviceDO;
import com.kinghunt.misp.dal.model.devicex.DeviceInspectionDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 设备巡检表
* Created by Mybatis Generator on 2025/02/28
*/
public interface DeviceInspectionDAO {
    int deleteByPrimaryKey(Long inspectionId);

    int insert(DeviceInspectionDO record);

    int insertSelective(DeviceInspectionDO record);

    DeviceInspectionDO selectByPrimaryKey(Long inspectionId);

    int updateByPrimaryKeySelective(DeviceInspectionDO record);

    int updateByPrimaryKey(DeviceInspectionDO record);
    List<DeviceInspectionDO> selectDeviceInspectionList(@Param("deviceInspection")DeviceInspectionDO record,
                                    @Param("offset")int offset,
                                    @Param("size")int size);

    int selectDeviceInspectionListCount(@Param("deviceInspection")DeviceInspectionDO record);
}